import 'package:get/get_navigation/get_navigation.dart';

import '../../pages/common/widgets/ati_web_show_view.dart';
import '../../pages/find/mall/views/points_mall_view.dart';
import '../../pages/find/news/views/news_det_view.dart';
import '../../pages/find/trend/views/trend_publish_view.dart';
import '../../pages/find/trend/views/trend_setting_view.dart';
import '../../pages/find/sign/views/daily_sign_view.dart';
import '../../pages/find/news/views/news_view.dart';
import '../../pages/find/views/notice_view.dart';
import '../../pages/find/views/notice_web_show.dart';
import '../../pages/find/views/points_det_view.dart';
import '../../pages/find/trend/views/trend_view.dart';
import '../../pages/personal_center/collect/user_collects_view.dart';
import '../../pages/personal_center/login_and_register/views/forgot_password_view.dart';
import '../../pages/personal_center/login_and_register/views/login_view.dart';
import '../../pages/personal_center/login_and_register/views/register_view.dart';
import '../../pages/personal_center/other/views/user_address_add_view.dart';
import '../../pages/personal_center/other/views/user_address_view.dart';
import '../../pages/personal_center/other/widgets/user_aboutus_view.dart';
import '../../pages/personal_center/safety_anagement/views/password_login_view.dart';
import '../../pages/personal_center/safety_anagement/views/password_transaction_view.dart';
import '../../pages/personal_center/safety_anagement/views/realname_input_view.dart';
import '../../pages/personal_center/user_infos/views/change_email_view.dart';
import '../../pages/personal_center/user_infos/views/change_nickname_view.dart';
import '../../pages/personal_center/user_infos/views/change_signature_view.dart';
import '../../pages/personal_center/views/user_bill_view.dart';
import '../../pages/personal_center/views/user_code_view.dart';
import '../../pages/personal_center/user_infos/views/user_infos_view.dart';
import '../../pages/personal_center/other/views/user_setting_view.dart';
import '../../pages/find/trend/views/trend_user_view.dart';
import '../../pages/personal_center/views/user_order_det_view.dart';
import '../../pages/personal_center/views/user_order_record_view.dart';
import '../../pages/personal_center/wallet/views/add_wallet_view.dart';
import '../../pages/personal_center/wallet/views/my_wallect_view.dart';
import '../../pages/personal_center/wallet/views/recharge_record_view.dart';
import '../../pages/personal_center/wallet/views/wallect_recharge_view.dart';
import '../../pages/personal_center/wallet/views/wallect_withdraw_view.dart';
import '../../pages/personal_center/wallet/views/wallet_address_view.dart';
import 'app_routes.dart';

class AtiAppPages {
  static final routes = [
    //通用
    GetPage(name: AtiAppRoutes.atiWebShow, page: () => AtiWebShowView()),

    //登录注册
    GetPage(name: AtiAppRoutes.userLogin, page: () => LoginView()),
    GetPage(name: AtiAppRoutes.userRegister, page: () => RegisterView()),
    GetPage(
      name: AtiAppRoutes.userForgotPassword,
      page: () => ForgotPasswordView(),
    ),

    //公告
    GetPage(name: AtiAppRoutes.notice, page: () => NoticeView()),
    GetPage(name: AtiAppRoutes.noticeDet, page: () => NoticeWebShow()),

    //签到
    GetPage(name: AtiAppRoutes.sign, page: () => DailySignView()),

    GetPage(name: AtiAppRoutes.pointsDet, page: () => PointsDetView()),

    //动态
    GetPage(name: AtiAppRoutes.trend, page: () => TrendView()),

    GetPage(name: AtiAppRoutes.trendSetting, page: () => TrendSettingView()),

    GetPage(name: AtiAppRoutes.trendPublish, page: () => TrendPublishView()),
    //积分商城
    GetPage(name: AtiAppRoutes.pointsMall, page: () => PointsMallView()),

    //新闻资讯
    GetPage(name: AtiAppRoutes.news, page: () => NewsView()),
    GetPage(name: AtiAppRoutes.newsDet, page: () => NewsDetView()),

    /**个人中心 */
    GetPage(name: AtiAppRoutes.userSetting, page: () => UserSettingView()),
    GetPage(name: AtiAppRoutes.userInfos, page: () => UserInfosView()),
    GetPage(name: AtiAppRoutes.userChangeEmail, page: () => ChangeEmailView()),
    GetPage(
      name: AtiAppRoutes.userChangeNickName,
      page: () => ChangeNicknameView(),
    ),
    GetPage(
      name: AtiAppRoutes.userChangeSignature,
      page: () => ChangeSignatureView(),
    ),

    GetPage(name: AtiAppRoutes.userCode, page: () => UserCodeView()),
    GetPage(name: AtiAppRoutes.userTrend, page: () => UserTrendView()),
    GetPage(name: AtiAppRoutes.userAboutUs, page: () => UserAboutusView()),
    GetPage(name: AtiAppRoutes.userCollects, page: () => UserCollects()),
    GetPage(name: AtiAppRoutes.userBillDet, page: () => UserBillView()),
    //订单
    GetPage(
      name: AtiAppRoutes.userOrderRecord,
      page: () => UserOrderRecordView(),
    ),
    GetPage(
      name: AtiAppRoutes.userOrderRecordDet,
      page: () => UserOrderDetView(),
    ),
    //登录密码
    GetPage(
      name: AtiAppRoutes.userChangeLigonPassword,
      page: () => PasswordLoginView(),
    ),
    //交易密码
    GetPage(
      name: AtiAppRoutes.userChangeTransPassword,
      page: () => PasswordTransactionView(),
    ),
    //实名认证
    GetPage(
      name: AtiAppRoutes.userRwalNameInput,
      page: () => RealnameInputView(),
    ),
    //地址管理
    GetPage(name: AtiAppRoutes.userAddress, page: () => UserAddressView()),
    GetPage(
      name: AtiAppRoutes.userAddAddress,
      page: () => UserAddressAddView(),
    ),
    //钱包地址
    GetPage(
      name: AtiAppRoutes.userWalletAddress,
      page: () => WalletAddressView(),
    ),
    GetPage(
      name: AtiAppRoutes.userAddWalletAddress,
      page: () => AddWalletView(),
    ),

    GetPage(name: AtiAppRoutes.userMyWallet, page: () => MyWallectView()),

    GetPage(
      name: AtiAppRoutes.userWalletRecharge,
      page: () => WallectRechargeView(),
    ),
    GetPage(
      name: AtiAppRoutes.userWalletRechargeRecord,
      page: () => RechargeRecordView(),
    ),
    GetPage(
      name: AtiAppRoutes.userWalletWithdraw,
      page: () => WallectWithdrawView(),
    ),
  ];
}
